﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using B.S.DataBase.MyRead.API.DTOs;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.Approval
{
    public class GetLeaveApplicationCommends:IRequest<APIPaging<List<LeaveApplicationsHeadsDtos>>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 时间段
        /// </summary>
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 审批状态    0：待审批 1：已审批
        /// </summary>
        public int? Status { get; set; }
        public int? DepId { get; set; }
        public int? Heads { get; set; }
        


    }
}
